Godeps
This commit is contained in:
parent
d3a51031c3
commit
198a319fd6
1361 changed files with 239071 additions and 28102 deletions
2
Godeps/_workspace/src/github.com/emicklei/go-restful/request.go
generated
vendored
2
Godeps/_workspace/src/github.com/emicklei/go-restful/request.go
generated
vendored
|
|
@ -108,7 +108,7 @@ func (r *Request) ReadEntity(entityPointer interface{}) (err error) {
|
|||
}
|
||||
|
||||
// lookup the EntityReader
|
||||
entityReader, ok := entityAccessRegistry.AccessorAt(contentType)
|
||||
entityReader, ok := entityAccessRegistry.accessorAt(contentType)
|
||||
if !ok {
|
||||
return NewError(http.StatusBadRequest, "Unable to unmarshal content of type:"+contentType)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue