#43803 [NEW]: getting content-length:0
| From: | prabumfy at gmail dot com | Date: | Thu, 10 Jan 2008 07:41:51 +0000 |
| Subject: | #43803 [NEW]: getting content-length:0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-121170@lists.php.net to get a copy of this message | ||
From: prabumfy at gmail dot com
Operating system: LInux
PHP version: 4.4.8
PHP Bug Type: cURL related
Bug description: getting content-length:0
Description:
------------
Request Header:
-----------------------
Host: s3.amazonaws.com
Accept: */*
Date: Thu, 10 Jan 2008 06:45:42 GMT
Content-Length: 347
Authorization: AWS 10J23AYJKXBME657G7R2:eMvK...
Content-Length: 347
Expect: 100-continue
While uploading a file of 347bytes using PUT method the response header
shows Content-Length: 0. but response code: 200 ok. If so getting
content-length:0 is an error or not?
Yhanks Advance. Response Header is below.
HTTP/1.1 200 OK
Date: Thu, 10 Jan 2008 06:54:17 GMT
ETag: "36915b7d517a24a9521be305772479d3"
Content-Length: 0
Server: AmazonS3
--
Edit bug report at http://bugs.php.net/?id=43803&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43803&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43803&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43803&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43803&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43803&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43803&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43803&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43803&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43803&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43803&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43803&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43803&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43803&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43803&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43803&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43803&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43803&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43803&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43803&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43803&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43803&r=mysqlcfg