Skip to content

Commit

Permalink
Add Outlook note to README
Browse files Browse the repository at this point in the history
  • Loading branch information
u01jmg3 committed Feb 10, 2023
1 parent 792c1bf commit 10f0df5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ composer test
// 3 => string 'TZID=America/Detroit:20160409T090000' (length=36)
```

### Are you using Outlook?

Outlook has a quirk where it requires the User Agent string to be set in your request headers.

Using the `httpUserAgent` argument when creating your ICal object solves this problem.

```php
$ical = new ICal($url, array('httpUserAgent' => 'A User Agent'));
```

---

## When Parsing an iCal Feed
Expand Down

0 comments on commit 10f0df5

Please sign in to comment.