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

Sent headers (feature request) #1

Open
Lagg opened this issue Nov 10, 2014 · 5 comments
Open

Sent headers (feature request) #1

Lagg opened this issue Nov 10, 2014 · 5 comments

Comments

@Lagg
Copy link

Lagg commented Nov 10, 2014

I'm really liking this extension. It's a hell of a lot better than RESTClient that's for sure. One of the very few things that it's missing though is a display of what (non-custom) headers were sent in a manner similar to the headers shown in the response pane. Seeing such things is very useful for the servers that have conditional responses based on things like user agent and things of that nature.

Perhaps a combined display of both the non-custom and custom headers that reflects the layout of the response pane?

@tommut
Copy link
Owner

tommut commented Nov 10, 2014

Can you give an example? Are you talking about the display of Response headers? The response view should show all of the response headers as returned from the server.
Or are you saying that you want to see which Request headers were sent?

@Lagg
Copy link
Author

Lagg commented Nov 10, 2014

The latter, in a manner similar to how they're shown in the Response pane. Hilariously I only just now realized that the panes have groupbox controls naming them. Sorry for ambiguity if there was any :/

@tommut
Copy link
Owner

tommut commented Nov 10, 2014

Ok I gotcha. Those other headers get added somewhere down the line by
Firefox, after I've called the Mozilla XMLHttpRequest API with the custom
headers. There's likely a way to get a handle on the ones that Firefox adds
by default, but I'll have to poke around to see exactly how.

On Mon, Nov 10, 2014 at 5:24 PM, Anthony Garcia notifications@github.com
wrote:

The latter, in a manner similar to how they're shown in the Response pane.
Hilariously I only just now realized that the panes have groupbox controls
naming them. Sorry for ambiguity if there was any :/


Reply to this email directly or view it on GitHub
#1 (comment).

@Lagg
Copy link
Author

Lagg commented Nov 11, 2014

I actually tried poking around the MDN to see if I could give a suggestion for this rather than just "I want this" but couldn't find much besides the SDK request class. One possibility is that the headers prop gets populated with the builtin headers it sends after the request is actually made. Not sure. Something to experiment with though.

@bubbleguuum
Copy link

The ability to display what exact request headers are being sent is indeed missing.

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

No branches or pull requests

3 participants