Content length larger then content range accepted #16

Open
bigplum opened this Issue Apr 23, 2011 · 0 comments

Comments

Projects
None yet
1 participant

bigplum commented Apr 23, 2011

curl 192.168.191.40/upload/ -d @access.log -H "Content-Type: text/xml" -H "Content-

Disposition: attachment; filename=big.TXT" -H "X-Content-Range: bytes 105-106/511920" -H "Session-ID: 1111215056" -v

  • About to connect() to 192.168.191.40 port 80
  • Trying 192.168.191.40... connected
  • Connected to 192.168.191.40 (192.168.191.40) port 80

    POST /upload/ HTTP/1.1
    User-Agent: curl/7.15.1 (x86_64-suse-linux) libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.3 libidn/0.6.0
    Host: 192.168.191.40
    Accept: /
    Content-Type: text/xml
    Content-Disposition: attachment; filename=big.TXT
    X-Content-Range: bytes 105-106/511920
    Session-ID: 1111215056
    Content-Length: 11533545
    Expect: 100-continue

    HTTP/1.1 201 Created
    < Server: nginx/0.8.53
    < Date: Sat, 23 Apr 2011 08:14:54 GMT
    < Content-Length: 14
    < Connection: close
    < Range: 100-106/511920
    Closing connection #0
    100-106/511920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment