Browse Source

methodNotAllowed:[entity:]

It is also from "accepts request as first arg" family.
Herby Vojčík 7 years ago
parent
commit
d15674b53c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Znock/ZnockBase.class.st

+ 1 - 1
src/Znock/ZnockBase.class.st

@@ -57,7 +57,7 @@ ZnockBase >> forwardedSelectors [
 		#(accepted noContent notModified ok: redirect: #redirect:entity: serverError: serverErrorWithEntity: statusCode: statusLine: unauthorized unauthorized: #unauthorized:entity:).
 		#(accepted noContent notModified ok: redirect: #redirect:entity: serverError: serverErrorWithEntity: statusCode: statusLine: unauthorized unauthorized: #unauthorized:entity:).
 
 
 		#handleResponseCreationFromRequestMessage: ->
 		#handleResponseCreationFromRequestMessage: ->
-		#(#badRequest: badRequest:entity:).
+		#(#badRequest: badRequest:entity: methodNotAllowed: methodNotAllowed:entity:).
 
 
 		#handleResponseMessage: ->
 		#handleResponseMessage: ->
 		#(addCookie: entity: headers: resetEntity: setLocation: setWWWAuthenticate: statusLine:).
 		#(addCookie: entity: headers: resetEntity: setLocation: setWWWAuthenticate: statusLine:).