You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface for httpx Timeout changed last August (https://github.com/encode/httpx/releases/tag/0.14.0) and I guess I must have been testing against an older version of the library. I'll fix it and make a new release of CommonPy today.
Describe the bug
With just a method and a url for net(), there is no result and a ValueError. I am able to get a result with cURL.
To Reproduce
result:
(None, ValueError('httpx.Timeout must either include a default, or set all four parameters explicitly.'))
Environment (please complete the following information)
Additional context
cURL can return the expected XML:
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://caltech.tind.io/search?ln=en&p=barcode%3A+35047019492099&of=xm"
The text was updated successfully, but these errors were encountered: