Skip to content

Commit 9d982bb

Browse files
committed
fix returned raw http code
1 parent 328af5c commit 9d982bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/cli/cmd_devhttp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (p *devHttpProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
226226
return
227227
}
228228

229-
w.WriteHeader(code)
229+
w.WriteHeader(http.StatusOK)
230230
w.Write(res.Payload)
231231
}
232232

0 commit comments

Comments
 (0)