We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d55dfc commit 0418affCopy full SHA for 0418aff
http.go
@@ -285,13 +285,6 @@ func verifyRequestType(have, want string) error {
285
return nil
286
}
287
288
-// verifyRequestEncoding verifies if the content-transfer-encoding of an HTTP
289
-// request is as expected. It returns an error implementing Error and is
290
-// intended to be used by server code.
291
-func verifyRequestEncoding(have, want string) error {
292
- return nil
293
-}
294
-
295
// writeResponse writes headers, a status code, and an object containing the
296
// body to an HTTP response. If encode is true, the object is base64-encoded.
297
// The appropriate encoding is chosen according to the object's type.
0 commit comments