LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Litespeed blocks HTTP PATCH requests, Error 400

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2013, 04:17 PM
foxyfred foxyfred is offline
Member
 
Join Date: Jul 2011
Posts: 11
Default Litespeed blocks HTTP PATCH requests, Error 400

I'm trying to deploy a new REST API that we developed and it uses the "PATCH" HTTP verb/method to modify server-side resources.

Here's what Litespeed logs on an example PATCH request:

Code:
2013-01-24 13:31:17.864 [INFO] [199.47.220.172:37018-0] Status 400: Bad request method: PATCH /stores/66
It also shows the built-in "404 not found" error page.

Thing is, we need to support this method. It's even got RFC support: https://tools.ietf.org/html/rfc5789

How can I configure Litespeed to let that method pass?
Reply With Quote
  #2  
Old 01-24-2013, 04:20 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
sure. we will add it to our 4.2.2 release.
Reply With Quote
  #3  
Old 01-25-2013, 01:53 PM
foxyfred foxyfred is offline
Member
 
Join Date: Jul 2011
Posts: 11
Thanks for the quick response! Any idea on how soon we might expect a 4.2.2 release?
Reply With Quote
  #4  
Old 01-25-2013, 09:39 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
you can manually download 4.2.2 now, see if it's working as expected.
just change the version number in current 4.2.1 official download link.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:51 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.