Hypertext Transfer Protocol is an application level network protocol that is used for the transfer of content on the World Wide Web.

learn more… | top users | synonyms

0
votes
0answers
4 views

Can a browser trying to render a webpage use both HTTP 1.0 and 1.1 when communicating with the same server?

After reading Steve Souders' 2008 blog post on HTTP connections per browser, it made me wonder if a browser can use both HTTP 1.0 and 1.1 when communicating with the same server while trying to render ...
0
votes
1answer
8 views

caching forms for different requests

I am working on a MVC4 application with Razor. users will be able to edit entities on this page, but since MVC-style urls look like this: ~/{Entity}/Edit/{Id} ~/MyEntity/Edit/1 ~/MyEntity/Edit/2 ...
-3
votes
0answers
17 views

Is It possible to create http client using gsoap in c++? [on hold]

If any tutorial or hint to create http client please suggest me
-1
votes
0answers
11 views

Storing an arraylist of objects on a server

So I've been surfing a lot on the internet trying to find answers to the question, but I had no luck. What I want, is to store an ArrayList over a website. I've tried using NameValuePairs but it ...
0
votes
1answer
10 views

How can I log the SSL layer with the Apache HTTP server classes

I have a custom application that is using httpcomponents-core-4.2.4 and the SSLContext/SSLEngine with Oracle JDK to enable https. It works fine in Windows/OSX environments. However, it does not work ...
0
votes
0answers
15 views

PHP HTTP 1.1 can not perform partial PUT requests

I have a file upload form on my website and when the user uploads its file to my server, I want to transport this uploaded file from my server to the cloud server. File can be large, so I decided to ...
2
votes
0answers
15 views

Is there a way to force-close a port on which a process is listening outside of killing the process directly?

It is understood that closing a port on which a process is listening will potentially render the process useless, so it is probably better to kill the process. However, I have a scenario where the ...
0
votes
0answers
8 views

Difference between Parameters and HTTP headers

i'm wondering if someone can explain to me what is the difference between passing values in a HTTP request as parameters or Headers as in this example : HTTP request : GET /<api ...
-1
votes
0answers
19 views

How can we specify different encoding in web Browser like IE, Chrome,Mozilla

I want to encode my URL in different ways (UTF8,UTF16,ISO-8859-4 ........) in web Browser.Is it possible in IE or in Chrome?
0
votes
0answers
25 views

how to send a txt file from server to client using http in java

I have a problem in my grails application which reads a txt file stored in the disk and then sends the file to the client. Now I am achieving this by reading the file line by line and storing them in ...
0
votes
1answer
8 views

API Design for sub resources?

I'm building quite a complex web API but something that I am a bit confused about is the creation of sub resources. Specifically, think in terms of games, A game belongs to a round, a round to a ...
0
votes
1answer
8 views

CSRF using synchronized token implementation detail advice

I am adding CSRF prevention mechanism to my application. I have look through many posts but just still have uncertainties in my approach. I am going to use the synchronized token implementation at the ...
0
votes
1answer
14 views

Using Spring EL to decide which outbound gateway to use

My application can use one of two web services, lets call them WS A and WS B. Both contain the same interface. I want to perform some logic on the HTTP headers and request channel. WS B should only ...
0
votes
2answers
9 views

access denied when using winjs.xhr for ftp

I am writing some code for windows 8 that uses open data provided by the city of Vancouver. When I use the WinJS.xhr call on the data url: ...
0
votes
2answers
22 views

Getting Error 400 The request sent by the client was syntactically incorrect (): Using RestTemplate, Spring

I have a client-server architecture in REST, Spring MVC. Tghe client is hitting the server URL and sending two parameters along with it. The server is supposed to reply back to the client with a ...
0
votes
0answers
8 views

Change Apache HTTP end of header line

As far as I understand, according to RFC 2616-sec2, the end of each HTTP protocol item (not including the body) is indicated by a CRLF. I was wondering if it is possible to change Apache to give just ...
0
votes
0answers
6 views

facebook redirect_uri can use https?

$params = array( 'scope' => 'read_stream, friends_likes', 'redirect_uri' => 'https://www.myapp.com/post_login_page' ); $user = $this->facebook->getUser(); $user always is 0. But ...
0
votes
1answer
20 views

Get header from HttpUrlConnection object

I want to send request to servlet and read headers from response. So I try it using this: URL url = new URL(contextPath + "file_operations"); HttpURLConnection conn = null; try { ...
0
votes
0answers
7 views

Problems Starting VLC HTTP Stream with Servlet

I'm working on a VLC project for myself. My goal is to create an HTML front end to start a stream. I am doing this through the use of Java Servlets. Overview: Ubuntu 13.04, Java 7-21 : IcedTea ...
0
votes
1answer
57 views

Using an HTTP connection as a simple duplex socket in Node

Say we're on a network where only HTTP is allowed, what's the simplest way to use the http module as net module (TCP) socket/stream? From both sides, I'd like is to be able to send data using write() ...
0
votes
0answers
7 views

How to use WebDAV for file uploading?

So I am a complete stranger to anything webDAV. I want to use it to create a virtual directory in Windows Explorer/OSX Finder so that I can place local files onto it. I have a cloud upload service ...
0
votes
0answers
8 views

Where can I find an easy reference for http headers?

I'm looking for a reference for all possible http request and response headers as part of the http specification. I want to know what is syntactically acceptable in terms header names and header ...
0
votes
0answers
23 views

What are the possibilities to transfer data from client to server via HTTP protocol?

Which possibilities are provided by the HTTP protocol to transmit data and parameters from client to server? Parameters included into the url (PathParams, QueryParams, MatrixParams) Header ...
0
votes
1answer
19 views

HTTP transfert encoding chunked decode PHP

I have this HTTP reponse content : HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Transfer-Encoding: chunked Date: Mon, 12 Aug 2013 15:08:10 GMT PK�Ctemps_attente.json���n� ...
-1
votes
0answers
23 views

Is Google's incorrect or is Ruby's net/http?

Ran into a bit of a stumper recently revolving around GFE HTTP engine. Basically, this code: require 'net/http' uri = URI('http://heanet.dl.sourceforge.net/') file = open("gimp_setup.exe", "wb") ...
0
votes
0answers
12 views

http request throws an exception on calling destroy

I have a node js project which makes multiple http connections with the server to download a file. In case no data in received from any of those connections for a particular duration of time then I ...
0
votes
2answers
25 views

HttpClient - write from one InputStream to multiple POST requests

I have a cluster of servers (potentially remote from each other) which all run Tomcat and communicate over HTTP using Apache HttpClient. A large number of these servers are data stores, and one of ...
1
vote
1answer
25 views

How to set the default content type in Spring MVC in no Accept header is provided?

If a request is sent to my API without an Accpet header I want to make JSON the default format. I have two methods in my controller, one for XML and one for JSON: @RequestMapping(method = ...
0
votes
0answers
8 views

How to implement competing consumer using http

I really enjoyed the "Microservices: Java, The Unix Way" presentation by James Lewis. In this presentation, James' talks about implementing a user registration service by writing a queue processing ...
0
votes
0answers
17 views

Android HTTP POST - 400 BAD REQUEST

I am using http://loopj.com/android-async-http/ library to interact with web server. I am sending POST request and getting empty response with 200 status code (Ok). But after inspecting connection ...

1 2 3 4 5 620
15 30 50 per page