• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-ozzo / ozzo-routing / 106
94%

Build:
DEFAULT BRANCH: master
Ran 16 Feb 2017 04:49PM UTC
Jobs 2
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
106

Pull #34

travis-ci

web-flow
Empty body during a POST panics

If a client POSTs an empty body and someone using the routing library as per examples, e.g.
```golang
if err := c.Read(&model); err != nil {
		return err
	}
```
then this actually panics with a null pointer reference rather than returning a BadRequest error. I think returning a bad request here is much safer than making routing library clients wrap every non-get in a nil-check.
Pull Request #34: Empty body during a POST panics

3 of 3 new or added lines in 1 file covered. (100.0%)

690 of 731 relevant lines covered (94.39%)

103.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
context.go
Jobs
ID Job ID Ran Files Coverage
1 106.1 16 Feb 2017 04:49PM UTC 0
94.39
Travis Job 106.1
2 106.2 16 Feb 2017 04:50PM UTC 0
94.39
Travis Job 106.2
Source Files on build 106
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #106
  • Pull Request #34
  • PR Base - master (#104)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc