RE: [users@httpd] POSTing to non-executable file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I know some browsers send in HTTP HEAD command before they send HTTP GET. I
am sure your client program can do the same.

================
Yanbin Ma
Competitrack Inc.
718-482-4284


-----Original Message-----
From: Stephen Carville [mailto:stephen@xxxxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Monday, June 13, 2005 10:01 PM
To: Apache Users
Subject: [users@httpd] POSTing to non-executable file

Is there a good way for a client program to check for the existance of a 
file on a remote server before attempting a download?  Kind of an http 
version of the ls command.

We have a software program that checks for the existance of a file by
doing an empty POST to the URL.  This works with apache 2.0.52 but fails 
on 1.3.20 with an error 405:

The requested method POST is not allowed for the URL /pdf/temp/16557996.pdf.

Whatever technique I use has to work on both 1.3 and 2.0 so I'd like to 
know if there is a better way.

--
Stephen Carville

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux