Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A aem-hacker
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 0ang3el
  • aem-hacker
  • Merge requests
  • !7

Added possibility to provide extra HTTP headers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/wimsymons/feature/add-extra-headers-and-debugging into master Sep 09, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 3

Created by: wimsymons

Hi,

I'd like to propose this extra functionality.

I wanted to use aem-hacker on our non-public AEM servers, which have an extra security layer using ADFS. To be able to get passed that, I needed the option to add some HTTP extra headers and cookies to every request. So I implemented -H <header> options as in curl.

You can then grab the needed data from f.e. Chrome devtools, copy to curl, and copy/paste the required -H options to aem-hacker and execute all tests.

Furthermore, I fixed some small Python errors, fixed some line length issues and added debug logging to requests to be able to see what aem-hacker is doing.

I hope you like it. If it needs some extra work, I'm happy to help.

Thank you very much for this amazing toolkit!

Kind regards

Wim

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/wimsymons/feature/add-extra-headers-and-debugging