Changeset 20883 in project


Ignore:
Timestamp:
10/19/10 00:20:49 (8 years ago)
Author:
syn
Message:

gazette #8: fix typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gazette/src/issues/8.wiki

    r20881 r20883  
    134134handler itself is only slightly more complicated now: We check whether
    135135{{current-request}}'s {{uri-path}} is {{(/ "hey")}} ({{uri-common}}'s
    136 way of representing the path {{/hey}}) and if so just the response as
    137 before. For any other path we call the {{continue}} procedure which is
    138 passed to our handler. This tells Spiffy "I am done with that request,
    139 please pass control on to the next handler". As it happens, the next
    140 handler is Spiffy's file system handler which will just take the
    141 {{uri-path}}, check whether it exists under the current {{root-path}}
    142 and then delivers the file. If the path doesn't exist, a {{404}}
    143 response is sent.
     136way of representing the path {{/hey}}) and if so just send the
     137response as before. For any other path we call the {{continue}}
     138procedure which is passed to our handler. This tells Spiffy "I am done
     139with that request, please pass control on to the next handler". As it
     140happens, the next handler is Spiffy's file system handler which will
     141just take the {{uri-path}}, check whether it exists under the current
     142{{root-path}} and then delivers the file. If the path doesn't exist, a
     143{{404}} response is sent.
    144144
    145145If you need more control over the response, you might want to augment
Note: See TracChangeset for help on using the changeset viewer.