Re: [users@httpd] apache config check for non available field in request

2020-07-31 Thread alchemist vk
Thanks Eric for your response. Your suggestion : RewriteCond %{HTTP:Content-Type} '"" worked like a charm.. You made my day.. Thanks you again.. With Regards, A On Thu, Jul 30, 2020 at 6:28 PM Eric Covener wrote: > On Thu, Jul 30, 2020 at 8:38 AM alchemist vk > wrote: > > > > Hi

Re: [users@httpd] apache config check for non available field in request

2020-07-30 Thread Eric Covener
On Thu, Jul 30, 2020 at 8:38 AM alchemist vk wrote: > > 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

[users@httpd] apache config check for non available field in request

2020-07-30 Thread alchemist vk
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