Skip to content

Commit bddc35f

Browse files
committed
0.9.0
1 parent 927132b commit bddc35f

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

readme.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Requests-Scala 0.9.0-RC1
1+
# Requests-Scala 0.9.0
22

33
[![Join the chat at https://gitter.im/lihaoyi/requests-scala](https://badges.gitter.im/lihaoyi/requests-scala.svg)](https://gitter.im/lihaoyi/requests-scala?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

@@ -26,7 +26,7 @@ For a hands-on introduction to this library, take a look at the following blog p
2626

2727
## Contents
2828

29-
- [Requests-Scala 0.8.3](#requests-scala-081)
29+
- [Requests-Scala 0.9.0](#requests-scala-081)
3030
- [Contents](#contents)
3131
- [Getting Started](#getting-started)
3232
- [Making a Request](#making-a-request)
@@ -45,6 +45,7 @@ For a hands-on introduction to this library, take a look at the following blog p
4545
- [Sessions](#sessions)
4646
- [Why Requests-Scala?](#why-requests-scala)
4747
- [Changelog](#changelog)
48+
- [0.9.0](#090)
4849
- [0.8.0](#080)
4950
- [0.7.1](#071)
5051
- [0.7.0](#070)
@@ -65,9 +66,9 @@ For a hands-on introduction to this library, take a look at the following blog p
6566
Use the following import to get you started:
6667

6768
```scala
68-
ivy"com.lihaoyi::requests:0.9.0-RC1" // mill
69-
"com.lihaoyi" %% "requests" % "0.9.0-RC1" // sbt
70-
compile "com.lihaoyi:requests_2.12:0.9.0-RC1" //gradle
69+
ivy"com.lihaoyi::requests:0.9.0" // mill
70+
"com.lihaoyi" %% "requests" % "0.9.0" // sbt
71+
compile "com.lihaoyi:requests_2.12:0.9.0" //gradle
7172
```
7273

7374
## Making a Request
@@ -293,6 +294,14 @@ requests.get(
293294
)
294295
```
295296

297+
To pass in a single header multiple times, you can pass them as a comma separated list:
298+
299+
```scala
300+
requests.get(
301+
"https://api.github.com/some/endpoint",
302+
headers = Map("user-agent" -> "my-app/0.0.1,other-app/0.0.2")
303+
)
304+
```
296305

297306
### Timeouts
298307

@@ -673,7 +682,7 @@ codebase or project!
673682

674683
## Changelog
675684

676-
### 0.9.0-RC1
685+
### 0.9.0
677686

678687
- Use JDK 11 HttpClient ([#158](https://github.com/com-lihaoyi/requests-scala/pull/158)). Note
679688
that this means we are dropping compatibility with JDK 8, and will require JDK 11 and above

0 commit comments

Comments
 (0)