[OSM-dev] Changeset close: API returned status code 411 (Length Required)
Eddy Petrișor
eddy.petrisor at gmail.com
Thu Jul 23 17:21:03 BST 2009
Vincent MEURISSE a scris:
> On Thursday 23 July 2009 04:43:57 pm Eddy Petrișor wrote:
>> Hello,
>> I got at the end of the import, during the changeset close
>> operation the error code 411 - Length Required.
>>
>> So it seems the API returned this code as and answer to this:
>> 'PUT /api/0.6/changeset/.../close'
>>
>> What does this mean?
>
> This is not an API error but just a standard HTTP one.
> Your request should contain a header "Content-Length" which allow the server
> to know how much data it can read from your request
Hmm, that's weird, the call is made from a module which uses the
standard Python httplib and I've never seen this message before, while I
did close changesets before in the same way.
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090723/75e1b7a7/attachment.pgp>
More information about the dev
mailing list