Message363515
| 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:41 | henrik242 | set | recipients:
+ henrik242, apetresc |
| 2020年03月06日 14:44:41 | henrik242 | set | messageid: <1583505881.83.0.278097590183.issue39875@roundup.psfhosted.org> |
| 2020年03月06日 14:44:41 | henrik242 | link | issue39875 messages |
| 2020年03月06日 14:44:41 | henrik242 | create |
|