-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am making an HTTP connection to an IIS web server and sending a POST request with the data encoded using Transfer-Encoding: chunked. When I do this, IIS simply closes the connection, with no error message or status code. According to the HTTP 1.1 spec,
All HTTP/1.1 applications MUST be able…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi
I am trying to do a chunked response (of large files) in libevent this way::
evhttp_send_reply_start(request, HTTP_OK, "OK");
int fd = open("filename", O_RDONLY);
size_t fileSize = <get_file_size>;
struct evbuffer *databuff = NULL;
for (off_t offset = 0;offset < fileSize;)
{
databuff…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm expiriencing some problem with one of my data source services.
As it says in HTTP response headers it's running on Apache-Coyote/1.1.
Server gives responses with Transfer-Encoding: chunked, here sample response:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I googled for this problem but there is no answer for it.
I want my PHP script to generate HTTP response in chunked( http://en.wikipedia.org/wiki/Chunked_transfer_encoding). How to do it?
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
One of client of our web service uses axis2 application that sends HTTP 1.1 query with:
Transfer-Encoding: chunked
header. Such query is refused by our Apache 2.2 with message:
<title>411 Length Required</title>
</head><body>
<h1>Length Required</h1>
<p>A…
>>> More