Skip to content

Conversation

@benoitc
Copy link
Owner

@benoitc benoitc commented Jan 19, 2026

Summary

  • Handles non-standard decimal status codes like 401.1 from IIS servers
  • Truncates at the decimal point since HTTP status codes are 3-digit integers per RFC 7231
  • Microsoft IIS uses extended status codes like 401.1, 403.14, etc.

Closes #697

Some IIS servers return status codes like 401.1 or 403.14 (see Microsoft
IIS HTTP status codes documentation). These are non-standard but do exist
in the wild. The fix truncates at the decimal point since HTTP status
codes are defined as 3-digit integers per RFC 7231.
@benoitc benoitc force-pushed the fix/decimal-status-codes branch from 009cb8f to 2748014 Compare January 19, 2026 12:15
@benoitc benoitc merged commit 8ceefd2 into master Jan 19, 2026
5 checks passed
@benoitc benoitc deleted the fix/decimal-status-codes branch January 19, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Status codes as floats

2 participants