fromHTTP panics with an httputil value on failure
(req *http.Request)
| 412 | |
| 413 | // fromHTTP panics with an httputil value on failure |
| 414 | func (r *EdgesRequest) fromHTTP(req *http.Request) { |
| 415 | r.ToRef = httputil.MustGetBlobRef(req, "blobref") |
| 416 | } |
| 417 | |
| 418 | // TODO(mpl): it looks like we never populate RecentResponse.Error*, shouldn't we remove them? |
| 419 | // Same for WithAttrResponse. I suppose it doesn't matter much if we end up removing GetRecentPermanodes anyway... |
no test coverage detected