Skip to content

Commit 0418aff

Browse files
committed
Remove unused function
1 parent 7d55dfc commit 0418aff

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

http.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,6 @@ func verifyRequestType(have, want string) error {
285285
return nil
286286
}
287287

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-
295288
// writeResponse writes headers, a status code, and an object containing the
296289
// body to an HTTP response. If encode is true, the object is base64-encoded.
297290
// The appropriate encoding is chosen according to the object's type.

0 commit comments

Comments
 (0)