Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1 #2

Merged
merged 1 commit into from
Jul 14, 2015
Merged

Fixes #1 #2

merged 1 commit into from
Jul 14, 2015

Conversation

prat0318
Copy link
Contributor

@prat0318 prat0318 commented Mar 6, 2015

Used the code from swagger-py

@dnephin
Copy link

dnephin commented Mar 6, 2015

I'm having a hard time understanding how the headers are related to this timeout. The stacktrace in the issue only has the last line. Could you explain what's going on here? It seems like at the very list there is a bug in twisted or somewhere else, if an unexpected header value results in a TimeoutError.

for key, val in headers.iteritems():
if not isinstance(val, list):
headers[key] = [val]
return Headers(headers)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is such a bizarre interface for Headers. I have no idea why Twisted would do this.

@prat0318
Copy link
Contributor Author

prat0318 commented Mar 9, 2015

Added further description of the bug in #1.

@dnephin
Copy link

dnephin commented Jul 14, 2015

lgtm

prat0318 added a commit that referenced this pull request Jul 14, 2015
@prat0318 prat0318 merged commit b16376d into Yelp:master Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants