marrow / WebCore

WebCore, the super tiny and blazingly fast modular Python web nanoframework.
MIT License
94 stars 10 forks source link

Additional callback for post-response clean up. #167

Closed amcgregor closed 8 years ago

amcgregor commented 8 years ago

This should resolve #166 by wrapping the WSGI response body in our own iterator which knows to call the done extension callback upon completion.

Includes documentation, example, tests, and an updated ThreadLocalExtension.

codecov-io commented 8 years ago

Current coverage is 100%

Merging #167 into develop will not change coverage

@@           develop   #167   diff @@
=====================================
  Files           14     14          
  Lines          533    538     +5   
  Methods          0      0          
  Messages         0      0          
  Branches         0      0          
=====================================
+ Hits           533    538     +5   
  Misses           0      0          
  Partials         0      0          

Sunburst

Powered by Codecov. Last updated by 31b182c