Yes, this will work for all GET and OPTIONS HTTP requests. The check happens at https://github.com/karenc/cnx-archive/blob/fca71c2e1f411a32f9c5079cc2c5bf562b68cb87/cnxarchive/__init__.py#L73. What you're seeing here on line 1199 is the registration of a faux route at '/' and controller that is a method on the test class for capturing the request.