can you explain what url cp does with an example. thanks
urlcp header
urlcp header
It adds any arbitrary header you specify to all subsequent <fetch>s and <submit>s.
<urlcp header "Flooby" "Dust">
Will add the header "Flooby" with value "Dust".
<urlcp header "Flooby" "Dust">
Will add the header "Flooby" with value "Dust".
-
- Posts: 119
- Joined: Fri Feb 27, 2009 9:09 am
urlcp header
okay. Is there any way i can get the all the headers assosiated with a page.
Say i am loading a vortex page abc.
When it loads
How can i print out all the headers assosiated with the page.
I want those headers to be shown as o/p
Say i am loading a vortex page abc.
When it loads
How can i print out all the headers assosiated with the page.
I want those headers to be shown as o/p
urlcp header
Can you clarify which set of headers you are looking for?
The headers the client sent when requesting the Vortex page, or the headers returned with the Vortex page when delivered to the client?
Or is it during a Vortex <fetch> the headers sent with the request, or the headers returned with the response?
The headers the client sent when requesting the Vortex page, or the headers returned with the Vortex page when delivered to the client?
Or is it during a Vortex <fetch> the headers sent with the request, or the headers returned with the response?
John Turnbull
Thunderstone Software
Thunderstone Software
-
- Posts: 119
- Joined: Fri Feb 27, 2009 9:09 am
urlcp header
the headers returned with the Vortex page when delivered to the client
urlcp header
Some of the headers come from the webserver. The best way to see all headers is to use a web client that can show them. Firefox with the "tamper data" addon is what I use for that most often.
urlcp header
Another option would be to use a packet sniffer like wireshark to watch the communication between the server and client.
-
- Posts: 119
- Joined: Fri Feb 27, 2009 9:09 am
urlcp header
yes . But is there a way we can come to know abt it from code. That is can that vortex page get the information about the headers receieved.
urlcp header
<urlinfo headers> and then <urlinfo header> will let you get the headers received after you do a <fetch> in Vortex.
To get the headers the Vortex page received from the client you can do <varinfo list env> and look for the variables that begin HTTP_
To get the headers the Vortex page received from the client you can do <varinfo list env> and look for the variables that begin HTTP_
John Turnbull
Thunderstone Software
Thunderstone Software