From 08e979116faf3ae21834ac54fd321030448c4732 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Thu, 19 Jan 2017 12:58:50 -0800 Subject: [PATCH] Clarify image endpoints These do not return HTML pages with a link to an image, they return images. --- httpbin/templates/httpbin.1.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/httpbin/templates/httpbin.1.html b/httpbin/templates/httpbin.1.html index e8e65f7..2e7770a 100644 --- a/httpbin/templates/httpbin.1.html +++ b/httpbin/templates/httpbin.1.html @@ -44,10 +44,10 @@
  • /stream-bytes/:n Streams n random bytes of binary data, accepts optional seed and chunk_size integer parameters.
  • /links/:n Returns page containing n HTML links.
  • /image Returns page containing an image based on sent Accept header.
  • -
  • /image/png Returns page containing a PNG image.
  • -
  • /image/jpeg Returns page containing a JPEG image.
  • -
  • /image/webp Returns page containing a WEBP image.
  • -
  • /image/svg Returns page containing a SVG image.
  • +
  • /image/png Returns a PNG image.
  • +
  • /image/jpeg Returns a JPEG image.
  • +
  • /image/webp Returns a WEBP image.
  • +
  • /image/svg Returns a SVG image.
  • /forms/post HTML form that submits to /post
  • /xml Returns some XML