Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb1b05 commit b5060c0Copy full SHA for b5060c0
1 file changed
lib/request/connect.py
@@ -293,7 +293,7 @@ def getPage(**kwargs):
293
if post and HTTPHEADER.CONTENT_TYPE not in headers:
294
headers[HTTPHEADER.CONTENT_TYPE] = POST_HINT_CONTENT_TYPES.get(kb.postHint, DEFAULT_CONTENT_TYPE)
295
296
- if headers[HTTPHEADER.CONTENT_TYPE] == POST_HINT_CONTENT_TYPES[POST_HINT.MULTIPART]:
+ if headers.get(HTTPHEADER.CONTENT_TYPE) == POST_HINT_CONTENT_TYPES[POST_HINT.MULTIPART]:
297
warnMsg = "missing 'boundary parameter' in '%s' header. " % HTTPHEADER.CONTENT_TYPE
298
warnMsg += "Will try to reconstruct"
299
singleTimeWarnMessage(warnMsg)
0 commit comments