# HG changeset patch # User Maxim Dounin # Date 1713635922 -10800 # Node ID c544b7120a6d0780d45a60cbfd4bc0bf82ecb015 # Parent fe80aebae728b6e8fccafe1ded1e8ae12a0ac72d Tests: removed dependencies on 405 error text. It is going to be changed from "405 Not Allowed" to "405 Method Not Allowed" to match RFC description. diff --git a/empty_gif.t b/empty_gif.t --- a/empty_gif.t +++ b/empty_gif.t @@ -62,7 +62,7 @@ EOF is(http_get_body('/'), $gif, 'empty gif'); like(http_get('/'), qr!Content-Type: image/gif!i, 'get content type'); like(http_head('/'), qr!Content-Type: image/gif!i, 'head content type'); -like(http('PUT / HTTP/1.0' . CRLF . CRLF), qr!405 Not Allowed!i, 'put'); +like(http('PUT / HTTP/1.0' . CRLF . CRLF), qr! 405 !i, 'put'); ############################################################################### diff --git a/http_method.t b/http_method.t --- a/http_method.t +++ b/http_method.t @@ -49,7 +49,7 @@ EOF ############################################################################### -like(http(<