Changeset 17708 in niluje


Ignore:
Timestamp:
Aug 19, 2020, 11:53:45 AM (3 months ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Refresh HTTPie patchset
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/httpie-leave-ua-alone.patch

    r17680 r17708  
    11diff --git a/httpie/client.py b/httpie/client.py
    2 index ff596bb..030e3ef 100644
     2index 879a215..e6873d3 100644
    33--- a/httpie/client.py
    44+++ b/httpie/client.py
    5 @@ -195,7 +195,10 @@ def finalize_headers(headers: RequestHeadersDict) -> RequestHeadersDict:
     5@@ -196,7 +196,10 @@ def finalize_headers(headers: RequestHeadersDict) -> RequestHeadersDict:
    66             # <https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html>
    77             # Also, requests raises `InvalidHeader` for leading spaces.
Note: See TracChangeset for help on using the changeset viewer.