title: How do I make case insensitive parameters in Akka http?
body: <p>For example I have a directive: </p>
  
  <pre><code>val sourceTypeDirective: Directive1[DocumentSource] = {
  parameters('docsource.as[String]) flatMap {
    case docSource if sourceAcceptedType(docSource) =&gt; provide(sourceValueOf(docSource))
    case _                                          =&gt; reject
    }
  }
  </code></pre>
  
  <p>I want to get docsource even if it will be written as DOCSOURCE or DocSource, how can I make that? </p>