Commit caf9269
committed
fix aiohttp crashing on gzipped HEAD responses
* This is a hack. aiohttp tries to unzip the content body for HEAD
responses when the Content-Encoding header is present. Since HEAD
responses don't have bodies, this crashes with a content encoding
error. This bug has been fix in aiohttp v0.22, but we are not yet
ready to upgrade that.1 parent e3b6c55 commit caf9269
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
0 commit comments