Commit Graph
3 Commits
Author SHA1 Message Date
davelopez 6ceb9d79da Fix run_as to be passed in the headers
The legacy API framework allowed to pass the `run_as` user in the payload but, moving forward to the new framework, looks like the headers is a better place for it (see https://github.com/galaxyproject/galaxy/pull/11342/commits/91e7d5191d70f3b286fdf86b39af657bede35f09).

- Adapt existing framework tests to pass in the `run_as` user in the headers instead of the payload.
- Fix the legacy framework not retrieving the `run_as` from the headers when the payload was not in JSON (i.e. Form data)
- Add a bit more of documentation for the OpenAPI schema.
2021-09-21 10:46:48 +02:00
John Chilton cb9c9afe98 sync webframeworks on x-frame-options 2021-01-27 01:14:17 -05:00
John Chilton d04c020747 Migrate api tests into lib/galaxy_test for packaging. 2019-11-12 09:05:08 -05:00