String returns the request URL as a string, with r.Options encoded in the URL fragment.
()
| 319 | // String returns the request URL as a string, with r.Options encoded in the |
| 320 | // URL fragment. |
| 321 | func (r Request) String() string { |
| 322 | u := *r.URL |
| 323 | u.Fragment = r.Options.String() |
| 324 | return u.String() |
| 325 | } |
| 326 | |
| 327 | // NewRequest parses an http.Request into an imageproxy Request. Options and |
| 328 | // the remote image URL are specified in the request path, formatted as: |