Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic Doubts in Header

 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am adding a header to the response. How can I display what are the headers available in the response?
This is a basic thing, which confusing a lot..may be the impact of final mock from HFSJ..


How can I check, what is the content for myheader?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you are setting header info to the response but then inspecting the headers of the request.

This is an interesting problem, as response doesn't have a getHeader method.

One possible solution would be to equip your browser with the ability to Display HTTP Headers.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marc, I was going to give you crap, because you linked to an IE tool instead of a Firefox extension - but then I saw that that page links to LiveHttpHeaders. Lucky you
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
Marc, I was going to give you crap, because you linked to an IE tool instead of a Firefox extension - but then I saw that that page links to LiveHttpHeaders. Lucky you

I was planning to post something for both browsers and this page turned out to have both already.

I think you are the lucky one for reading on before giving me crap and making yourself look dumb. The fleeting thoughts of such sweet victory will I cherish always hereafter.
 
Kevin DesLauriers
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marc and Ulf,

Hate to burst your bubbles but the link for Mozilla does not work. Just a generic search/advertisement page.

Hope this helps: link

Kevin
[ February 14, 2007: Message edited by: Kevin DesLauriers ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OUCH! Now I really feel dumb.

Thanks, Kevin!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic