Uploaded image for project: 'ColdBox Platform'
  1. COLDBOX-696

Passing headers to `request` breaks RoutingService when in test mode

    Details

      Description

      The RoutingService has a call to get the Accept header. If this is mocked, it returns null instead of the actual default value (empty string).

      What would be ideal is to have the getHTTPHeader check the struct of mock headers passed (if exists) and if not defer to the actual implementation.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lmajano Luis Majano
                Reporter:
                elpete Eric Peterson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: