Skip to content

Commit

Permalink
Add HTTP 206 Partial Content to stats (#277)
Browse files Browse the repository at this point in the history
This is returned by the realtime API, and should be included in the stats struct so it can be used.
  • Loading branch information
noseglid authored Jun 8, 2021
1 parent bcc89ec commit f0ef41e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastly/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type Stats struct {
ImageOptimizer uint64 `mapstructure:"imgopto"` // Number of responses that came from the Fastly Image Optimizer service.
Status200 uint64 `mapstructure:"status_200"` // Number of responses sent with status code 200 (Success).
Status204 uint64 `mapstructure:"status_204"` // Number of responses sent with status code 204 (No Content).
Status206 uint64 `mapstructure:"status_206"` // Number of responses sent with status code 206 (Partial Content).
Status301 uint64 `mapstructure:"status_301"` // Number of responses sent with status code 301 (Moved Permanently).
Status302 uint64 `mapstructure:"status_302"` // Number of responses sent with status code 302 (Found).
Status304 uint64 `mapstructure:"status_304"` // Number of responses sent with status code 304 (Not Modified).
Expand Down

0 comments on commit f0ef41e

Please sign in to comment.