Skip to content

Commit

Permalink
Merge pull request #126 from scala-steward/update/smithy4s-aws-http4s…
Browse files Browse the repository at this point in the history
…-0.18.15

Update smithy4s-aws-http4s, ... to 0.18.15
  • Loading branch information
etorres authored Apr 6, 2024
2 parents 67bb75e + 390c186 commit 9a66cfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import org.http4s.client.dsl as http4sDsl
import org.http4s.{Header, Method, Request, Uri}
import org.typelevel.ci.CIStringSyntax
import smithy4s.http.Metadata
import smithy4s.http.internals.URIEncoderDecoder.encode as uriEncode

import java.net.URLEncoder
import java.nio.charset.StandardCharsets

/** Amazon S3 AWS4 request signer.
* @see
Expand Down Expand Up @@ -44,6 +46,8 @@ object S3Signer:

val canonicalUri = "/"

def uriEncode(fragment: String) = URLEncoder.encode(fragment, StandardCharsets.UTF_8)

val canonicalQueryString =
if metadata.query.isEmpty then ""
else
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml"
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.21.1")
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta44")
addSbtPlugin("com.disneystreaming.smithy4s" % "smithy4s-sbt-codegen" % "0.17.19")
addSbtPlugin("com.disneystreaming.smithy4s" % "smithy4s-sbt-codegen" % "0.18.15")
addSbtPlugin("org.typelevel" %% "sbt-feral-lambda" % "0.2.4")
// Development tools
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.0")
Expand Down

0 comments on commit 9a66cfd

Please sign in to comment.