homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author henrik242
Recipients apetresc, henrik242
Date 2020年03月06日.14:44:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583505881.83.0.278097590183.issue39875@roundup.psfhosted.org>
In-reply-to
Content
Here's the wireshark output. It seems that urllib adds a "Connection: close" which curl doesn't. Solr doesn't seem to like that.
Curl message:
POST /solr/my_coll/update?commit=true HTTP/1.1
Host: solr.example.no:12699
User-Agent: curl/7.64.1
Accept: */*
Content-Length: 138
Content-Type: application/x-www-form-urlencoded
<add><doc><field name="key">KEY__9927.1</field><field name="value">{"result":0,"jobId":"9459695","jobNumber":"9927.1"}</field></doc></add>
Python message:
POST /solr/my_coll/update?commit=true HTTP/1.1
Accept-Encoding: identity
Content-Type: application/x-www-form-urlencoded
Content-Length: 138
Host: solr.example.no:12699
User-Agent: Python-urllib/3.7
Connection: close
<add><doc><field name="key">KEY__9927.1</field><field name="value">{"result":0,"jobId":"9459695","jobNumber":"9927.1"}</field></doc></add>
History
Date User Action Args
2020年03月06日 14:44:41henrik242setrecipients: + henrik242, apetresc
2020年03月06日 14:44:41henrik242setmessageid: <1583505881.83.0.278097590183.issue39875@roundup.psfhosted.org>
2020年03月06日 14:44:41henrik242linkissue39875 messages
2020年03月06日 14:44:41henrik242create

AltStyle によって変換されたページ (->オリジナル) /