- Doug B. (firstname.lastname@example.org) wrote:
I’ve read the Pickaxe and the Ruby Docs but for the life of me I can’t
figure out an easy way of setting the headers of my HTTP
request/connection. I see a class called HTTPHeader and I see some methods
have an “initheader” parameter but I was expecting there to be a simple way
of ‘adding’ headers at any point in the script. Possible switching them and
replacing with other values.
“By adding headers at any point in the script?” Just to be sure, we talk
I think its not that problem to hack somethink like you want. But if
in pure ruby, just do it yourself
Many thanks for your help.
Michael Trommer http://ackro.com
The reason ESP, for example, is not considered a viable topic in
psychology is simply that its investigation has not proven
more than 70 years of study, there still does not exist one example of
phenomenon that is replicable under controlled conditions. This simple
basic scientific criterion has not been met despite dozens of studies
over many decades…It is for this reason alone that the topic is now of
interest to psychology…In short, there is no demonstrated phenomenon
– Keith E. Stanovich, “How to Think Straight About Psychology”, pp.