-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
863 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -639,6 +639,20 @@ Person { | |
} | ||
~~~~ | ||
|
||
### `-u`/`--user-agent`: Custom `User-Agent` header | ||
|
||
*This option is available since Fedify 1.3.0.* | ||
|
||
By default, the `fedify lookup` command sends the `User-Agent` header with the | ||
value `Fedify/1.3.0 (Deno/2.0.4)` (version numbers may vary). You can specify | ||
a custom `User-Agent` header by using the `-u`/`--user-agent` option. For | ||
example, to send the `User-Agent` header with the value `MyApp/1.0`, run the | ||
below command: | ||
|
||
~~~~ sh | ||
fedify lookup --user-agent MyApp/1.0 @[email protected] | ||
~~~~ | ||
|
||
|
||
`fedify inbox`: Ephemeral inbox server | ||
-------------------------------------- | ||
|
@@ -797,6 +811,20 @@ instance. | |
The `-m`/`--metadata` option is used to show the extra metadata of the NodeInfo, | ||
i.e., the `metadata` field of the document. | ||
|
||
### `-u`/`--user-agent`: Custom `User-Agent` header | ||
|
||
*This option is available since Fedify 1.3.0.* | ||
|
||
By default, the `fedify node` command sends the `User-Agent` header with the | ||
value `Fedify/1.3.0 (Deno/2.0.4)` (version numbers may vary). You can specify | ||
a custom `User-Agent` header by using the `-u`/`--user-agent` option. For | ||
example, to send the `User-Agent` header with the value `MyApp/1.0`, run the | ||
below command: | ||
|
||
~~~~ sh | ||
fedify node --user-agent MyApp/1.0 mastodon.social | ||
~~~~ | ||
|
||
|
||
`fedify tunnel`: Exposing a local HTTP server to the public internet | ||
-------------------------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.