修改路由匹配正则表达式,添加更多测试用例
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ pub fn Response.text(body string) http.Response {
|
||||
return http.Response{
|
||||
header: http.new_header(http.HeaderConfig{
|
||||
key: http.CommonHeader.content_type
|
||||
value: 'plain/text'
|
||||
value: 'text/plain'
|
||||
})
|
||||
status_code: 200
|
||||
body: body
|
||||
|
||||
Reference in New Issue
Block a user