apache config check for non available field in request

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

 



Hi All,
 Consider the request curl -vk -X POST -H "Del-Auth: abcd" '127.0.0.1/test/newuser' where I intentionally wont provide content type header for new user creation.

While trying to write apache config file to check the presence of content-type field in request header, I am not able to do it.. 

Please help me in checking presence of header via config file.

Tried as RewriteCond %{HTTP:Content-Type}  ' ' , but it didnt work..

Thanks in advance

[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