Skip to content

Commit

Permalink
Merge pull request #8 from VoidingWarranties/http-status-codes
Browse files Browse the repository at this point in the history
Update HTTP status code handling for Sia v1.0
  • Loading branch information
robvanmieghem committed Jun 28, 2016
2 parents 8edc59e + acf7a3c commit ff3efa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (sc *SiadClient) SubmitHeader(header []byte) (err error) {
return
}
switch resp.StatusCode {
case 200:
case 204:
default:
err = fmt.Errorf("Invalid siad response, status code %d", resp.StatusCode)
return
Expand Down

0 comments on commit ff3efa9

Please sign in to comment.