Skip to content

Conversation

@tillig
Copy link
Contributor

@tillig tillig commented Jun 17, 2014

Fixes the way response headers are parsed when using the jQuery client. Enables the response headers to be properly viewed in the UI. Previous logic consistently returned an empty set of headers. Includes minor changes to allow the use of JS strict mode, at least for this function.

Fixes the way response headers are parsed when using the jQuery client. Enables the response headers to be properly viewed in the UI. Previous logic consistently returned an empty set of headers. Includes minor changes to allow the use of JS strict mode, at least for this function.
@tillig
Copy link
Contributor Author

tillig commented Jun 17, 2014

I hope this is the right place to put this. I submitted a similar request to the swagger-ui project and just realized it must be pulling from here.

@fehguy
Copy link
Contributor

fehguy commented Jun 17, 2014

yes, this is the right spot. I should have spotted that--good to have it in both places

fehguy added a commit that referenced this pull request Jun 17, 2014
Fix handling for jQuery response headers
@fehguy fehguy merged commit 6324cc9 into swagger-api:master Jun 17, 2014
@tillig
Copy link
Contributor Author

tillig commented Jun 17, 2014

I put it in "dist" in the swagger-ui project. Should I submit it for the "lib" folder in swagger-ui as well? Will it get lost in the build?

@fehguy
Copy link
Contributor

fehguy commented Jun 17, 2014

best in both places

@tillig
Copy link
Contributor Author

tillig commented Jun 17, 2014

OK, I set up a request for swagger-ui lib, too, so everything will be in sync. :)

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.

2 participants