Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP 206 Partial Content to stats #277

Merged
merged 1 commit into from
Jun 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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